package com.example.samsung.startproject_127zlr.service;

import com.example.samsung.startproject_127zlr.bean.WeatherResult;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by SAMSUNG on 2017/3/15.
 */
//Retrofit-2定义接口
public interface Weather51Service {
    @GET("GetMoreWeather")
    Call<WeatherResult> getResult(@Query("cityCode")String cityNumber, @Query("weatherType")int weatherType);

}
